package com.sgb.kjwl.view.ui.adapter.home;

import android.content.Context;
import android.widget.ImageView;
import com.sgb.kjwl.R;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import com.swgk.core.view.weiget.YoungBaseAdapter;
import java.util.List;

public class FreightNavigationAdapter2 extends YoungBaseAdapter<Integer> {

    public FreightNavigationAdapter2(Context context, List<Integer> menuEntityList) {
        super(context, R.layout.goods_adapter_banner_item2, menuEntityList);

    }

    @Override
    public void convert(ItemViewHolder holder, Integer integer) {
        ImageView img = holder.itemView.findViewById(R.id.tv_name);
        img.setBackgroundResource(integer);
    }
}
